using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;

namespace Yozeev.BusinessLogic
{
    /// <summary>
    /// 票型
    /// </summary>
    public class PrintElement : ByBranchEntity<Guid>
    {
        /// <summary>
        /// 分组名称--可以和票型一致方便查询
        /// </summary>
        public string GroupName { get; set; }
        /// <summary>
        /// 打印类型
        /// </summary>
        public PrintTypeEnum PrintType { get; set; }
        /// <summary>
        /// 打印标题
        /// </summary>
        public string TicketCode { get; set; }
        /// <summary>
        /// 横坐标
        /// </summary>
        public TicketModeEnum TicketMode { get; set; }
        /// <summary>
        /// 纵坐标
        /// </summary>
        public TicketTypeEnum TicketType { get; set; }
        /// <summary>
        /// 文字大小
        /// </summary>
        public CheckMethodEnum CheckMethod { get; set; }
        /// <summary>
        /// 验票次数
        /// </summary>
        public long? CheckNum { get; set; }
        /// <summary>
        /// 有效时间长（天）
        /// </summary>
        public long? EffectiveLong { get; set; }
        /// <summary>
        /// 默认单价
        /// </summary>
        public decimal UnitPrice { get; set; }
        /// <summary>
        /// 票码长度
        /// </summary>
        public long? TicketLength { get; set; }
        /// <summary>
        /// 团体票销售上限
        /// </summary>
        public long? UpperLimit { get; set; }
        /// <summary>
        /// 团体票销售下限
        /// </summary>
        public long? LowerLimit { get; set; }
        /// <summary>
        /// 音频
        /// </summary>
        public string AudioName { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public AuditStatusEnum AuditStatus { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnabled { get; set; }
        /// <summary>
        /// 排序号
        /// </summary>
        public long? Sort { get; set; }
    }
}
